if (!/pnpm/.test(process.env.npm_execpath || '')) {
  //console.warn('请使用pnpm安装依赖包！')
  console.warn(
    `\u001b[33mThis repository must using pnpm as the package manager for script to work properly.\u001b[39m\n  Please use pnpm to install dependencies.\n  \u001b[33mIf you have already installed pnpm, please make sure it is in your PATH.\u001b[39m`,
  )
  process.exit(1)
}
